package com.hjq.mallproduct.feign;

import com.hjq.common.entity.es.SkuEsModel;
import com.hjq.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @auther HJQ
 */
@FeignClient("mall-search")
public interface SearchFeign {
    @PostMapping("/mallsearch/es/product")
    R upSkuProducts(@RequestBody List<SkuEsModel> skuEsModels);
}
